package cn.group.service;

import cn.group.domain.Course;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface CourseService {
    List<Course>queryAllCourse();
    PageInfo<Course>getCourseByPage(Integer currentPage, Integer pageSize);
    Course queryCourseById(Integer id);
    boolean modifyOne(Course course);
    boolean insertOneCourse(Course course);
    Boolean deleteOne(Course course);
}
